﻿{% extends '../../../layout.html' %}
<!-- header-start -->
{% block head %}
{% parent %}

<!--lCalendar.css-->
<link href="/component/lCalendar/lCalendar.css" rel="stylesheet"/>
<!--LArea.css-->
    <link href="/component/LArea/LArea.min.css" rel="stylesheet"/>
    <link href="/css/pages/address.css" rel="stylesheet"/>
{% endblock %}
<!-- header-end -->

<!-- body-start -->
{% block content %}
<div class="Hr_AdddressManage">
    <div class="flex-box">
        <header class="align-start">
            <a onclick="back()">
                <div class="Return">
                    <img src="/images/icon/left.png"/>
                </div>
            </a>
        </header>
        <main>
            <form class="fields">
                {% for address in thatData.address %}
                <div class="address-list-panel" data-id="{{ address.ua_id }}">
                    <div class="clear">
                        <h5 class="float-left">{{ address.ua_contact }}</h5>
                        <p class="float-right">{{ address.ua_mobile }}</p>
                    </div>
                    <h5 class="clear p-t-10">{{ address.ua_province + address.ua_city + address.ua_county + address.ua_street }}</h5>
                    <img class="moer" src="/images/icon/right1.png"/>
                </div>
                {% endfor %}
                <div class="add_address">
                    <a href="/add-address">
                        <div class="Rect_full_btn btn-normal"><h5>新增地址</h5></div>
                    </a>
                </div>
            </form>
        </main>
    </div>
</div>

{% endblock %}
<!-- body-end -->
<!-- script-start -->
{% block script %}
    <script type="text/javascript" src="/js/base/fastclick.js"></script>
    <!--lCalendar.js-->
    <script type="text/javascript" src="/component/lCalendar/lCalendar.min.js"></script>
    <!--LArea.js-->
    <script type="text/javascript" src="/component/LArea/LArea.min.js"></script>
    <!--LArea.Date-->
    <script type="text/javascript" src="/component/lCalendar/LAreaData1.js"></script>
    <script type="text/javascript" src="/js/base/app.js"></script>
    <script type="text/javascript" src="/js/my-haier/address_manage.js"></script>

    <script id="LoadOkRemove">
        var ADDRESS={};
        try {
            ADDRESS={{ thatData.address|json_encode|raw }};
        }catch (e){}
        $("#LoadOkRemove").remove();
    </script>
{% endblock %}
<!-- script-end -->

